{template 'header', $TP}
<div class="nav">
<a href="index.php">首页</a> >
<a href="index.php?moduleid={$moduleid}">{$MOD[name]}</a> >
{if $catid}{wap_pos($CAT)}{/if}
</div>
<div class="main">
{if $itemid}
	<strong>{$title}</strong><br/>
	{if $page==1}
	日期:<small>{$editdate}</small><br/>
	{if !$username}<span style="color:red;">非会员信息</span><br/>{/if}
	{if $vip}{VIP}:{$vip}级<br/>{/if}
	
	租金:{if $price}{$price}元/月{else}面议{/if}<br/>
	小区名称:{$housename}<br/>
	区域:{area_pos($areaid, ' ')}<br/>
	物业类型:{wap_pos($CAT)}<br/>
	户型:{$room}室{$hall}厅{$toilet}卫{$balcony}阳台<br/>
	面 积:{$houseearm}平方米<br/>
	产权性质:{if $cqxz==1}私产{elseif $cqxz==2}公产{elseif$cqxz==3}商品房{elseif $cqxz==4}期房{elseif $cqxz==5}经济适用房{elseif $cqxz==6}使用权房
								{elseif $cqxz==7}房改房{/if}<br/>
	楼 层:第{$floor1}层(共{$floor2}层)<br/>
	<strong>联系方式</strong><br/>
	{template 'contact', 'wap'}
	<strong>详细介绍</strong><br/>
	{if $thumb}<img src="{$thumb}"/><br/>{/if}
	{/if}
	{$content}<br/>
{else}
	<div class="brby"><img src="{AJ_SKIN}image/arrow.gif" align="absmiddle"/> <a href="index.php?moduleid={$moduleid}&amp;action=category">按类型</a>
	<img src="{AJ_SKIN}image/arrow.gif" align="absmiddle"/> <a href="index.php?moduleid={$moduleid}&amp;action=area">按地区浏览</a></div>
	{loop $lists $v}
	&middot;<a href="index.php?moduleid={$moduleid}&amp;itemid={$v[itemid]}">{$v[title]}</a><br/>
	{/loop}
{/if}
{if $pages}<div class="pages">{$pages}</div>{/if}
<div class="fm">
<form action="index.php" method="get">
<input type="hidden" name="moduleid" value="{$moduleid}"/>
<input type="hidden" name="catid" value="{$catid}"/>
<input type="hidden" name="areaid" value="{$areaid}"/>
<select name="moduleid" class="fm_opt">
{loop $WAP_MODULE $i $m}
<option value="{$m[moduleid]}"{if $m[moduleid]==$moduleid} selected{/if}>{$m[name]}</option>
{/loop}
</select>
<input type="text" name="kw" value="{$kw}" size="10" class="fm_inp"/>
<input type="submit" value="搜索" class="fm_sbm"/>
</form>
</div>
{template 'footer', $TP}